// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import router from './router'
import 'assets/js/bootstrap/js/bootstrap.min.js'
import 'assets/js/jquery.backstretch.min.js'
import 'assets/js/bootstrap/css/bootstrap.min.css'
import 'assets/css/common.less'
import img from 'assets/img/backgrounds/1.jpg'

Vue.config.productionTip = false
$(function(){
  $.backstretch([img]); //背景
  // $(".other").backstretch(["b.jpg","a.jpg","coffee.jpg"],{duration:4000}); //元素背景，切换现实
});

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router
})
 